package edu.zju.gis.cky.dao;

import edu.zju.gis.cky.entity.po.FlowGeomPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author jiarui
 * @version 1.0, 2022-01-10
 */
public interface FlowGeomMapper {

    FlowGeomPO selectByPrimaryKey(String id, String tableName);

    List<FlowGeomPO> getDetailSelective(@Param("tableName") String tableName,
                                        @Param("from") List<String> begin,
                                        @Param("to") List<String> end,
                                        @Param("xzqh") String xzqh,
                                        @Param("index") int index);

    List<FlowGeomPO> getListByExtent(@Param("tableName") String tableName,
                                     @Param("from") List<String> begin,
                                     @Param("to") List<String> end,
                                     @Param("wkt") String wkt);

    List<FlowGeomPO> selectAll(@Param("tableName") String tableName);

}
